package com.linden.std.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 登录请求DTO
 */
@Data
@ApiModel("登录请求")
public class LoginRequest {
    
    @NotBlank(message = "用户名不能为空")
    @ApiModelProperty("用户名")
    private String username;
    
    @NotBlank(message = "密码不能为空")
    @ApiModelProperty("密码")
    private String password;
    
//    @ApiModelProperty("验证码")
//    private String captcha;
//
//    @ApiModelProperty("验证码键")
//    private String captchaKey;
    
    @ApiModelProperty("客户端IP")
    private String clientIp;
}